IModule.ReadSdoUInt16 方法

透過服務資料物件 (SDO) 讀取 ushort。

命名空間IntervalZero.KINGSTAR.Base.Class

組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
IKsCommand<ushort> ReadSdoUInt16(
       ushort index,
       byte subIndex,
       bool completeAccess
)
Function ReadSdoUInt16(
       index As UShort,
       subIndex As Byte,
       completeAccess As Boolean
) As IKsCommand(Of UShort)

參數

index

型別:ushort

欲在物件字典中讀取的物件索引。

 

subIndex

型別:byte

欲在物件字典中讀取的物件子索引。

 

completeAccess

型別:bool

true:讀取所有子索引;false:讀取單一子索引。

回傳值

型別:IKsCommand<ushort>

回傳方法的狀態及一個 ushort 值。

參見

IModule 介面

IntervalZero.KINGSTAR.Base.Class 命名空間